package com.sikaryofficial.backend.domain.mapping;

import com.sikaryofficial.backend.domain.dto.resp.information.ArticleEvaluateDTO;
import com.sikaryofficial.backend.domain.entity.ArticleEvaluate;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author : qinjinyuan
 * @desc : 活动映射接口
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface ArticleEvaluateMapping {
    ArticleEvaluateMapping INSTANCE = Mappers.getMapper(ArticleEvaluateMapping.class);

    /**
     * 实体映射resp
     *
     * @param entity
     * @return
     */
    ArticleEvaluateDTO coverToDTO(ArticleEvaluate entity);

}
